package com.hongkzh.www.look.enterprise.userinfo.model.bean;

import java.util.List;

/**
 * Created by as on 2018/4/2.
 */

public class MediaPhotoBean {


    /**
     * msg :
     * code : 0
     * data : {"totalRow":1,"pageNumber":1,"firstPage":true,"lastPage":true,"totalPage":1,"pageSize":6,"list":[{"coverPhoto":"http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png","name":"1","rank":"1","details":[{"name":"1","rank":"1","id":"1","imgSrc":"http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png"}],"viewCount":11,"id":"1"}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalRow : 1
         * pageNumber : 1
         * firstPage : true
         * lastPage : true
         * totalPage : 1
         * pageSize : 6
         * list : [{"coverPhoto":"http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png","name":"1","rank":"1","details":[{"name":"1","rank":"1","id":"1","imgSrc":"http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png"}],"viewCount":11,"id":"1"}]
         */

        private int totalRow;
        private int pageNumber;
        private boolean firstPage;
        private boolean lastPage;
        private int totalPage;
        private int pageSize;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * coverPhoto : http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png
             * name : 1
             * rank : 1
             * details : [{"name":"1","rank":"1","id":"1","imgSrc":"http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png"}]
             * viewCount : 11
             * id : 1
             */

            private String coverPhoto;
            private String name;
            private String rank;
            private int viewCount;
            private String id;
            private List<DetailsBean> details;

            public String getCoverPhoto() {
                return coverPhoto;
            }

            public void setCoverPhoto(String coverPhoto) {
                this.coverPhoto = coverPhoto;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRank() {
                return rank;
            }

            public void setRank(String rank) {
                this.rank = rank;
            }

            public int getViewCount() {
                return viewCount;
            }

            public void setViewCount(int viewCount) {
                this.viewCount = viewCount;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public List<DetailsBean> getDetails() {
                return details;
            }

            public void setDetails(List<DetailsBean> details) {
                this.details = details;
            }

            public static class DetailsBean {
                /**
                 * name : 1
                 * rank : 1
                 * id : 1
                 * imgSrc : http://47.95.5.235:8081/userfiles/1/files/sys/adv/hkStaticAdv/2018/03/%E8%BD%AE%E6%92%ADbanner%403x.png
                 */

                private String name;
                private String rank;
                private String id;
                private String imgSrc;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getRank() {
                    return rank;
                }

                public void setRank(String rank) {
                    this.rank = rank;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getImgSrc() {
                    return imgSrc;
                }

                public void setImgSrc(String imgSrc) {
                    this.imgSrc = imgSrc;
                }
            }
        }
    }
}
